home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16497 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.0 KB  |  45 lines

  1. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  2. Path: undergrad.math.uwaterloo.ca!clgonsal
  3. From: clgonsal@undergrad.math.uwaterloo.ca (Carl Laurence Gonsalves)
  4. Subject: Re: Will Java kill C++?
  5. Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
  6. Message-ID: <Dpo600.DzG@undergrad.math.uwaterloo.ca>
  7. Date: Wed, 10 Apr 1996 23:16:48 GMT
  8. References: <3134D499.653E@ix.netcom.com> <4jgv6t$hon@kadath.zeitgeist.net> <4k3cdo$np5@taurus.adnc.com> <DpEJnu.DDL@news.hawaii.edu>
  9. Nntp-Posting-Host: lhopital.uwaterloo.ca
  10. Organization: University of Waterloo
  11.  
  12. In article <DpEJnu.DDL@news.hawaii.edu>,
  13. Peter Hinely <phinely@Hawaii.Edu> wrote:
  14. >In article <4k3cdo$np5@taurus.adnc.com>, Terry Sikes <tsikes@netcom.com> wrote:
  15. >>dshaker@samsara.smalltalk.com (Doug Shaker) wrote:
  16. >>
  17. [stuff deleted]
  18. >>It has all the right features
  19. >>in it, and it's very elegantly constructed and architected."
  20. >>
  21. >
  22. >What about multiple inheritance?  Functions as first class objects?
  23.  
  24. Java does have multiple interface inheritance, which is good enough 99.9%
  25. of the time. (Actually, I've *never* needed needed multiple implementation
  26. inheritance)
  27.  
  28. The biggest feature I see missing from Java would be generics. After that
  29. would be functions as objects. That's in order of haow useful I'd find
  30. these things to be. I've never had a use for multiple implementation
  31. inheritance, and I've never seen any example that really needed it.
  32. (I'm not saying they don't exist. I've just never seen such a case, and
  33. can't think of one.)
  34.  
  35. In fact, I kind of wish Java was a bit more restrictive, and didn't allow
  36. adding public members to a class. This would force people to create
  37. hierachies consisting of interfaces for the internal parts, and classes
  38. just at (or near) the leaves.
  39.  
  40. -- 
  41.         Carl Laurence Gonsalves - clgonsal@undergrad.math.uwaterloo.ca
  42.                    Computer Science, University of Waterloo
  43.                http://www.undergrad.math.uwaterloo.ca/~clgonsal/
  44.                    http://www.csclub.uwaterloo.ca/~clgonsal/
  45.